DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / CanGroup Method / CanGroup<T>(IDataCollection<T>,GroupDescription[]) Method
The data collection.
The group descriptions that determine how the data will be grouped.

In This Topic
    CanGroup<T>(IDataCollection<T>,GroupDescription[]) Method
    In This Topic
    Returns true if the data collection supports sorting.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CanGroup(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal ParamArray groupDescriptions() As GroupDescription _
    ) As Boolean
    public static bool CanGroup<T>( 
       IDataCollection<T> dataCollection,
       params GroupDescription[] groupDescriptions
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    groupDescriptions
    The group descriptions that determine how the data will be grouped.

    Type Parameters

    T
    See Also